Skip to content

Commit

Permalink
feat: add split payment refunds
Browse files Browse the repository at this point in the history
  • Loading branch information
bweber committed Sep 12, 2024
1 parent d02a1a9 commit bd6083a
Show file tree
Hide file tree
Showing 112 changed files with 1,794 additions and 274 deletions.
4 changes: 2 additions & 2 deletions docs/api/attach-card-to-customer.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ description: " Attach a card payment method to a customer in the Account."
sidebar_label: "Attach card to customer"
hide_title: true
hide_table_of_contents: true
api: eJztWFtX2zgQ/is66sNejkNiE2g3byFclmtTICwt5QTFEolaWzKSHBJy/N/3jGTnThL29HRf+gKOPaNv5puLpBlhQ7oa1+5wkwxjJgw6Z6Ynqcb3HqZMh4onhkuBaxghhOrGkLCHCAqJoijJVWKrgoyED6k2MmYKcYFMj6F6GMpUmK2v4quAFd69e4eaTMVcay6Fdi//RA/5WiW3Vu1ZccMesIdlwhQBC44pruEc36IbOQbDHk6IIjEzTIEzIyxIzHANc4o9zMH6hJge9rBiTylXjOKaUSnzsA57LCa4NsJmmICGNoqLLs6yeyfMtNmTdAgSoRSGCQOPJEkiHlq7yt800DOaWmoCcocLE9ucAqU5iux8Y6EBsxU4aDjTFmFKuDbCMRdnTHRND9d8b87A+eg0Ct6P97GH2YDESQTiYarb7+vDnThs3dYHz+pi9/nTwafWzcHfe40TnGUeJpRyWIREzSljHkmkmYcNN3YZR3yDKHrpSMEZ6M7SaV/oRArt3AkqFfg3a+jHU+xtTuVqvhxNa4iBXLGkiDSKSAfccbGfIoko2v7QJN+uxf6N6vODkw8vn0/262eHn+Idg4Ekl8btTRDzlF8HSsKwvbfjfxD86Pno8+kL7+72jbq8+XJ0dHQDmEz0uZIizolaDXowEUYl1CACdRh6MEybByQVekiUpGkIwg8rrZrIgQlATE9GlKm2q6hN2HYKyCqsgjqRPYGuYm56ABURbarrAc6INqiKKO9yo5F8tE0GzFwJVQ2qgaV0kLRjKaCiNsobNki4az/Iqa0C8ccQQ0bU2xGs1iqAoBLsA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jHoYsMStlp4uz2brGHu7kU83YXnGwIs8wHiXPzkZpXXaXZ3g3whER3ZR0QdYtaTtLOjNKIQn/bksufwCnlrIwXUDOB/gLHi0VH41cMWfZWN59elVjXLE52UBBlmX/AkZH1tM=
sidebar_class_name: "put api-method"
info_path: api/credova-payments-api
info_path: api/publicsquare-payments-api
custom_edit_url: null
show_extensions: true
---
Expand Down
37 changes: 32 additions & 5 deletions docs/api/cancels-a-payment.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ description: " Cancels a pending payment for the Account."
sidebar_label: "Cancels a payment"
hide_title: true
hide_table_of_contents: true
api: eJztWltz4rgS/isq7anaqnOcBBvIhadDyGVyHWZymclmU0TYDWjGlhxJJmEo/vuplm0gwIDZys4+nLwkLtOtr+9qtzSkhnU1rd3TJhtEIIymDw4NQPuKx4ZLQWuUEEIaTPgQasJIDCLgokvilJ50pCKmB6Tu+zIRZvNP8adAjt9++400QUVcay6FTl/+mzwaxYRmPq5de1bcwCN1qIxBMXx1EtAanQJLQahDFTwloM2+DAa0NqS+FAZ/qA0pi+OQ+5Z765tGiYdU+z2IGD4hH1cQoIrZai0eoJJmEAOtUdn+Bj4ixAqlMBw08k3R1oY04uIcRNf0aM0dc2qjuOjSWXNlhiQnB8RI4ltdqEPhhUVxiHxxZFre3Rk870txXDHd76530YO7cpN/OBjQ0cihLAg4rsbC5pRQHRZqcKjhxi6TWilD+5yah46QfaKzUQnYFzqWQqeaeaUS/nst9Mcz6hQ36nLTpSYraiTqUJGEIWujUijvGqZyKEujrlUEM4vQVZjM91v7VXdX8OPn47uzH7y73Tfq8+0fx8fHt4gJos+VFFFmquWghxNisoFpRNpAHg1o80ikIo+xkkFis+FxuSXGdFaEFwNKsLCQ3lMByQWJQPk9JszvmuiBNhAthYWdvR3olP2NdnV3e6NSLpc3WGevtLHjbu8GuxVvJ9itokDaMJPo4rJk9MugdeL7oHUnCRFgqmwUUvp6Qr/K4Ua9tPaqqn9x2q/fwvH27pf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p0S+BdVWkg+HLpsGY3G9O6nVznGKeGo0YH3o9HoP/vXQ+Y=
sidebar_class_name: "post api-method"
info_path: api/credova-payments-api
info_path: api/publicsquare-payments-api
custom_edit_url: null
show_extensions: true
---
Expand Down Expand Up @@ -763,7 +763,7 @@ import TabItem from "@theme/TabItem";
>


Payment transfers
Transfers


</div><li>
Expand All @@ -778,7 +778,7 @@ import TabItem from "@theme/TabItem";
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Payment Transfer ID","nullable":true,"example":"trnf_7yFLQWACr3DYDSz1xpoEAVfdq"}}
schema={{"type":"string","description":"Transfer ID","nullable":true,"example":"trnf_7yFLQWACr3DYDSz1xpoEAVfdq"}}
>

</SchemaItem><SchemaItem
Expand All @@ -799,6 +799,15 @@ import TabItem from "@theme/TabItem";
schema={{"type":"string","description":"Environment - Can be `test` or `production`","nullable":true,"example":"production"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"type"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Transfer type","nullable":true,"example":"payment"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"status"}
Expand All @@ -808,6 +817,15 @@ import TabItem from "@theme/TabItem";
schema={{"type":"string","description":"Transfer status","nullable":true,"example":"successful"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"payment_transfer_id"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Transfer ID for the payment transfer","nullable":true,"example":"trnf_7yFLQWACr3DYDSz1xpoEAVfdq"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"payment_id"}
Expand All @@ -817,6 +835,15 @@ import TabItem from "@theme/TabItem";
schema={{"type":"string","description":"Payment ID","nullable":true,"example":"pmt_2YKewBonG4tgk12MheY3PiHDy"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"refund_id"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Refund ID if associated with a refund","nullable":true,"example":"rfd_2YKewBonG4tgk12MheY3PiHDy"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"transaction_id"}
Expand Down Expand Up @@ -915,7 +942,7 @@ import TabItem from "@theme/TabItem";
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"id\": \"pmt_2YKewBonG4tgk12MheY3PiHDy\",\n \"account_id\": \"acc_B518niGwGYKzig6vtrRVZGGGV\",\n \"environment\": \"production\",\n \"external_id\": \"e797ef3c-b586-4333-af90-7168d8427d85\",\n \"status\": \"successful\",\n \"transaction_id\": \"trx_95rvMJvAVeG68W4NtLdfkN3LG\",\n \"amount\": 9500,\n \"amount_capturable\": 10000,\n \"amount_charged\": 10000,\n \"amount_refunded\": 500,\n \"refunded\": false,\n \"currency\": \"USD\",\n \"payment_method\": {\n \"card\": {\n \"id\": \"card_8PajTnDVrviEJ8zYJDALFQm5t\",\n \"cardholder_name\": \"John Smith\",\n \"last4\": \"4242\",\n \"exp_month\": \"12\",\n \"exp_year\": \"2025\",\n \"fingerprint\": \"CC2XvyoohnqecEq4r3FtXv6MdCx4TbaW1UUTdCCN5MNL\"\n },\n \"account_balance\": {\n \"account_id\": \"acc_B518niGwGYKzig6vtrRVZGGGV\",\n \"account_name\": \"Test Company, LLC\"\n }\n },\n \"customer\": {\n \"id\": \"cus_7Ay5mcUXAxwrN6wQEQUVEHBCJ\",\n \"external_id\": \"e797ef3c-b586-4333-af90-7168d8427d85\",\n \"business_name\": \"Awesome Company, LLC\",\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"email\": \"john.smith@email.com\",\n \"phone\": \"+15554829347\"\n },\n \"billing_details\": {\n \"address_line_1\": \"111 Colorado Ave.\",\n \"address_line_2\": \"Apt 403\",\n \"city\": \"Des Moines\",\n \"state\": \"IA\",\n \"postal_code\": \"51111\",\n \"country\": \"US\"\n },\n \"shipping_address\": {\n \"address_line_1\": \"111 Colorado Ave.\",\n \"address_line_2\": \"Apt 403\",\n \"city\": \"Des Moines\",\n \"state\": \"IA\",\n \"postal_code\": \"51111\",\n \"country\": \"US\"\n },\n \"fraud_decision\": {\n \"decision\": \"accept\"\n },\n \"transfers\": [\n {\n \"id\": \"trnf_7yFLQWACr3DYDSz1xpoEAVfdq\",\n \"account_id\": \"acc_B518niGwGYKzig6vtrRVZGGGV\",\n \"environment\": \"production\",\n \"status\": \"successful\",\n \"payment_id\": \"pmt_2YKewBonG4tgk12MheY3PiHDy\",\n \"transaction_id\": \"trx_95rvMJvAVeG68W4NtLdfkN3LG\",\n \"seller_account_id\": \"acc_8ooQs32UCdriBvrHnVWbTmJbY\",\n \"amount\": 1000,\n \"transfer_fee\": 100,\n \"currency\": \"USD\",\n \"created_at\": \"2024-06-30T01:02:29.212Z\",\n \"modified_at\": \"2024-06-30T01:02:29.212Z\"\n }\n ],\n \"created_at\": \"2024-06-30T01:02:29.212Z\",\n \"modified_at\": \"2024-06-30T01:02:29.212Z\"\n}"}
responseExample={"{\n \"id\": \"pmt_2YKewBonG4tgk12MheY3PiHDy\",\n \"account_id\": \"acc_B518niGwGYKzig6vtrRVZGGGV\",\n \"environment\": \"production\",\n \"external_id\": \"e797ef3c-b586-4333-af90-7168d8427d85\",\n \"status\": \"successful\",\n \"transaction_id\": \"trx_95rvMJvAVeG68W4NtLdfkN3LG\",\n \"amount\": 9500,\n \"amount_capturable\": 10000,\n \"amount_charged\": 10000,\n \"amount_refunded\": 500,\n \"refunded\": false,\n \"currency\": \"USD\",\n \"payment_method\": {\n \"card\": {\n \"id\": \"card_8PajTnDVrviEJ8zYJDALFQm5t\",\n \"cardholder_name\": \"John Smith\",\n \"last4\": \"4242\",\n \"exp_month\": \"12\",\n \"exp_year\": \"2025\",\n \"fingerprint\": \"CC2XvyoohnqecEq4r3FtXv6MdCx4TbaW1UUTdCCN5MNL\"\n },\n \"account_balance\": {\n \"account_id\": \"acc_B518niGwGYKzig6vtrRVZGGGV\",\n \"account_name\": \"Test Company, LLC\"\n }\n },\n \"customer\": {\n \"id\": \"cus_7Ay5mcUXAxwrN6wQEQUVEHBCJ\",\n \"external_id\": \"e797ef3c-b586-4333-af90-7168d8427d85\",\n \"business_name\": \"Awesome Company, LLC\",\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"email\": \"john.smith@email.com\",\n \"phone\": \"+15554829347\"\n },\n \"billing_details\": {\n \"address_line_1\": \"111 Colorado Ave.\",\n \"address_line_2\": \"Apt 403\",\n \"city\": \"Des Moines\",\n \"state\": \"IA\",\n \"postal_code\": \"51111\",\n \"country\": \"US\"\n },\n \"shipping_address\": {\n \"address_line_1\": \"111 Colorado Ave.\",\n \"address_line_2\": \"Apt 403\",\n \"city\": \"Des Moines\",\n \"state\": \"IA\",\n \"postal_code\": \"51111\",\n \"country\": \"US\"\n },\n \"fraud_decision\": {\n \"decision\": \"accept\"\n },\n \"transfers\": [\n {\n \"id\": \"trnf_7yFLQWACr3DYDSz1xpoEAVfdq\",\n \"account_id\": \"acc_B518niGwGYKzig6vtrRVZGGGV\",\n \"environment\": \"production\",\n \"type\": \"payment\",\n \"status\": \"successful\",\n \"payment_transfer_id\": \"trnf_7yFLQWACr3DYDSz1xpoEAVfdq\",\n \"payment_id\": \"pmt_2YKewBonG4tgk12MheY3PiHDy\",\n \"refund_id\": \"rfd_2YKewBonG4tgk12MheY3PiHDy\",\n \"transaction_id\": \"trx_95rvMJvAVeG68W4NtLdfkN3LG\",\n \"seller_account_id\": \"acc_8ooQs32UCdriBvrHnVWbTmJbY\",\n \"amount\": 1000,\n \"transfer_fee\": 100,\n \"currency\": \"USD\",\n \"created_at\": \"2024-06-30T01:02:29.212Z\",\n \"modified_at\": \"2024-06-30T01:02:29.212Z\"\n }\n ],\n \"created_at\": \"2024-06-30T01:02:29.212Z\",\n \"modified_at\": \"2024-06-30T01:02:29.212Z\"\n}"}
language={"json"}
>

Expand Down
Loading

0 comments on commit bd6083a

Please sign in to comment.