Skip to content

Commit 87af9e5

Browse files
committed
[FIX] README example
1 parent 32353f7 commit 87af9e5

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,22 @@ Simple usage looks like:
7272
"capture_mode" => "automatic_async",
7373
"payer" => [
7474
"email" => "<PAYER_EMAIL>",
75-
]
75+
],
7676
"transactions" => [
7777
"payments" => [
78-
[
79-
"amount" => "1000.00",
80-
"payment_method" => [
81-
"id" => "master",
82-
"type" => "credit_card",
83-
"token" => "<CARD_TOKEN>",
84-
"installments" => 1,
85-
"statement_descriptor" => "Store name",
78+
[
79+
"amount" => "1000.00",
80+
"payment_method" => [
81+
"id" => "master",
82+
"type" => "credit_card",
83+
"token" => "<CARD_TOKEN>",
84+
"installments" => 1,
85+
"statement_descriptor" => "Store name",
86+
]
8687
]
8788
]
8889
]
89-
],
90-
];
90+
];
9191

9292
// Step 5: Create the request options, setting X-Idempotency-Key
9393
$request_options = new RequestOptions();

0 commit comments

Comments
 (0)