Auction Software Payment
API Documentation

Refer - Token - Card

POST

REFER

Body raw
{
"card_number":"4111111111111111",
"card_exp_month": "12",
"card_exp_year": "2030",
"card_cvc": "123",
"card_token": true
}
Example Request
curl --location --request POST 'REFER' \
--data-raw '{
"card_number":"4111111111111111",
"card_exp_month": "12",
"card_exp_year": "2030",
"card_cvc": "123",
"card_token": true
}'

Refer - Token - Bank

POST

REFER

Body raw
{
"bank_country": "4111111111111111",
"bank_currency": "12",
"bank_account_holder_name": "2030",
"bank_account_holder_type": "2030",
"bank_routing_number": "123",
"bank_account_number": "123",
"bank_token": true
}
Example Request
REFER' \
--data-raw '{
"bank_country": "4111111111111111",
"bank_currency": "12",
"bank_account_holder_name": "2030",
"bank_account_holder_type": "2030",
"bank_routing_number": "123",
"bank_account_number": "123",
"bank_token": true
Example Response
"status": "success",
"data": {
"responseType": 1,
"message": "Customer added successfully!",
"responseData": {
"id": "cus_IkKk8KAMQQaLpt",
"object": "customer",
"address": {
"city": "Richardson",
"country": "US",
"line1": "637, Cambridge Circle",
"line2": "Richardson",
"postal_code": "75060",
"state": "Texas"
},
"balance": 0,
"created": 1610470240,
"currency": null,
"default_source": null,
"delinquent": false,
"description": "TEST CUSTOMER",
"discount": null,
"email": "srikanth+seller4@auctionsoftware.com",
"invoice_prefix": "944AC6BC",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null
},
"livemode": false,
"metadata": {},
"name": "FOURTH SELLER",
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none"

Customer Create

POST

https://paymentapi.auctionsoftware.com/api/customer/create

Body raw
{
"account_id": "4111111111111111",
"bank_currency": "12",
"bank_account_holder_name": "2030",
"bank_account_holder_type": "2030",
"bank_routing_number": "123",
"bank_account_number": "123",
"bank_token": true
}
Example Request
REFER' \
--data-raw '{
"bank_country": "4111111111111111",
"bank_currency": "12",
"bank_account_holder_name": "2030",
"bank_account_holder_type": "2030",
"bank_routing_number": "123",
"bank_account_number": "123",
"bank_token": true
Example Response
"status": "success",
"data": {
"responseType": 1,
"message": "Customer added successfully!",
"responseData": {
"id": "cus_IkKk8KAMQQaLpt",
"object": "customer",
"address": {
"city": "Richardson",
"country": "US",
"line1": "637, Cambridge Circle",
"line2": "Richardson",
"postal_code": "75060",
"state": "Texas"
},
"balance": 0,
"created": 1610470240,
"currency": null,
"default_source": null,
"delinquent": false,
"description": "TEST CUSTOMER",
"discount": null,
"email": "srikanth+seller4@auctionsoftware.com",
"invoice_prefix": "944AC6BC",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null
},
"livemode": false,
"metadata": {},
"name": "FOURTH SELLER",
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none"

Customer Update

POST

https://paymentapi.auctionsoftware.com/api/customer/update

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_IkKk8KAMQQaLpt",
"description": "TEST CUSTOMER",
"email": "srikanth+seller4@auctionsoftware.comm",
"name": "FOURTH UPDATE USER",
"address": {
"line1": "637, Cambridge Circle",
"line2": "Richardson",
"city": "Richardson",
"postal_code": "75060",
"state": "Texas",
"country": "US"
}
}
Example Request
curl --location --request POST 'https://paymentapi.auctionsoftware.com/api/customer/update' \ --data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_IkKk8KAMQQaLpt",
"description": "TEST CUSTOMER",
"email": "srikanth+seller4@auctionsoftware.comm",
"name": "FOURTH UPDATE USER",
"address": {
"line1": "637, Cambridge Circle",
"line2": "Richardson",
"city": "Richardson",
"postal_code": "75060",
"state": "Texas",
"country": "US"
}
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Customer updated successfully!",
"responseData": {
"id": "cus_IkKk8KAMQQaLpt",
"object": "customer",
"address": {
"city": "Richardson",
"country": "US",
"line1": "637, Cambridge Circle",
"line2": "Richardson",
"postal_code": "75060",
"state": "Texas"
},
"balance": 0,
"created": 1610470240,
"currency": null,
"default_source": null,
"delinquent": false,
"description": "TEST CUSTOMER",
"discount": null,
"email": "srikanth+seller4@auctionsoftware.comm",
"invoice_prefix": "944AC6BC",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null
},
"livemode": false,
"metadata": {},
"name": "FOURTH UPDATE USER",
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none"
}
}
}
}
Example Response Headers
Server: nginx/1.14.0 (Ubuntu)
Date: Tue, 12 Jan 2021 16:51:36 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 745
Connection: keep-alive
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;
frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self'
https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
ETag: W/"2e9-TiL3OW0CiFDGp3wTk9wwkTmQqFc"
Vary: Accept-Encoding

Customer Retrive

POST

https://paymentapi.auctionsoftware.com/api/customer/retrieve

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_IkKk8KAMQQaLpt"
}
Example Request
curl --location --request POST 'https://paymentapi.auctionsoftware.com/api/customer/retrieve' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_IkKk8KAMQQaLpt"
}'
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Customer retrieved successfully!",
"responseData": {
"id": "cus_IkKk8KAMQQaLpt",
"object": "customer",
"address": {
"city": "Richardson",
"country": "US",
"line1": "637, Cambridge Circle",
"line2": "Richardson",
"postal_code": "75060",
"state": "Texas"
},
"balance": 0,
"created": 1610470240,
"currency": null,
"default_source": null,
"delinquent": false,
"description": "TEST CUSTOMER",
"discount": null,
"email": "srikanth+seller4@auctionsoftware.comm",
"invoice_prefix": "944AC6BC",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null
},
"livemode": false,
"metadata": {},
"name": "FOURTH UPDATE USER",
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none"
}
}
}
Example Response Headers
Server: nginx/1.14.0 (Ubuntu)
Date: Tue, 12 Jan 2021 16:53:32 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 747
Connection: keep-alive
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;
frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self'
https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
ETag: W/"2eb-VEK0OidqseeI+BFVnFjUquDeato"
Vary: Accept-Encoding

Customer Delete

POST

https://paymentapi.auctionsoftware.com/api/customer/delete

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_IkKouijXr84Pnd"
}
Example Request
curl --location --request POST 'https://paymentapi.auctionsoftware.com/api/customer/delete' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_IkKouijXr84Pnd"
}'
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Customer deleted successfully!",
"responseData": {
"id": "cus_IkKouijXr84Pnd",
"object": "customer",
"deleted": true
}
}
}
Example Response Headers
Server: nginx/1.14.0 (Ubuntu)
Date: Tue, 12 Jan 2021 16:55:09 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 167
Connection: keep-alive
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
ETag: W/"a7-4TXRSwHoks6uiUeK6yF+ntoWKP4"
Vary: Accept-Encoding

Card Add

POST

https://paymentapi.auctionsoftware.com/api/customer/source/create

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz",
"card_number":"4111111111111111",
"card_exp_month": "12",
"card_exp_year": "2030",
"card_cvc": "123",
"card_token": true
}
Example Request
curl --location --request POST 'https://paymentapi.auctionsoftware.com/api/customer/source/create' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz",
"card_number":"4111111111111111",
"card_exp_month": "12",
"card_exp_year": "2030",
"card_cvc": "123",
"card_token": true
}'
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Source added successfully!",
"responseData": {
"id": "card_1I8q9bPQ4iG3mdLGVKr3dQuc",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_If7GDAizxhJEWz",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 12,
"exp_year": 2030,
"fingerprint": "FU19NMQpMsyq61ns",
"funding": "credit",
"last4": "1111",
"metadata": {},
"name": null,
"tokenization_method": null
}
}
}
Example Response Headers
Server: nginx/1.14.0 (Ubuntu)
Date: Tue, 12 Jan 2021 16:55:36 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 585
Connection: keep-alive
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
ETag: W/"249-pn9W49lwzMoe4BKjteaxgKNgpvk"
Vary: Accept-Encoding

Card Update

POST

https://paymentapi.auctionsoftware.com/api/customer/source/update

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz",
"source_id": "card_1I3p1nPQ4iG3mdLGmGWKaQNo",
"address_city": "",
"address_country": "",
"address_line1": "",
"address_line2": "",
"address_state": "",
"address_zip": "",
"exp_month": "",
"exp_year": "",
"name": "",
"account_holder_name": "",
"account_holder_type": ""
}
Example Request
curl --location --request POST 'https://paymentapi.auctionsoftware.com/api/customer/source/update' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz",
"source_id": "card_1I3p1nPQ4iG3mdLGmGWKaQNo",
"address_city": "",
"address_country": "",
"address_line1": "",
"address_line2": "",
"address_state": "",
"address_zip": "",
"exp_month": "",
"exp_year": "",
"name": "",
"account_holder_name": "",
"account_holder_type": ""
}'
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Source updated successfully!",
"responseData": {
"id": "card_1I3p1nPQ4iG3mdLGmGWKaQNo",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_If7GDAizxhJEWz",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 12,
"exp_year": 2030,
"fingerprint": "FU19NMQpMsyq61ns",
"funding": "credit",
"last4": "1111",
"metadata": {},
"name": null,
"tokenization_method": null
}
}
}
Example Response Headers
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Content-Length: 587
ETag: W/"24b-goSGXiBeZvBJ6dJ4g3yu+5lDx/Y"
Set-Cookie: connect.sid=s%3AkL7vZNSL7dPsXn1FQ7OYZt7acROrv_69.%2Fn%2BaQt09ktDOCOXP4m3vtXyiefordJ6vG0ie7qCIqes; Path=/;
Expires=Wed, 13 Jan 2021 10:25:57 GMT; HttpOnly
Vary: Accept-Encoding
Date: Tue, 12 Jan 2021 17:45:57 GMT
Connection: keep-alive

Card Retrive

POST

https://paymentapi.auctionsoftware.com/api/customer/source/retrieve

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz",
"source_id":"card_1I3p1nPQ4iG3mdLGmGWKaQNo"
}
Example Request
curl --location --request POST https://paymentapi.auctionsoftware.com/api/customer/source/retrieve' \ --data-raw '{ "account_id": "acct_1HyPgmPQ4iG3mdLG", "customer_id": "cus_If7GDAizxhJEWz", "source_id":"card_1I3p1nPQ4iG3mdLGmGWKaQNo" }
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Source added successfully!",
"responseData": {
"id": "card_1I8q9bPQ4iG3mdLGVKr3dQuc",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_If7GDAizxhJEWz",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 12,
"exp_year": 2030,
"fingerprint": "FU19NMQpMsyq61ns",
"funding": "credit",
"last4": "1111",
"metadata": {},
"name": null,
"tokenization_method": null
}
}
}
Example Response Headers
Server: nginx/1.14.0 (Ubuntu)
Date: Tue, 12 Jan 2021 16:55:36 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 585
Connection: keep-alive
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
ETag: W/"249-pn9W49lwzMoe4BKjteaxgKNgpvk"
Vary: Accept-Encoding

Card Delete

POST

https://paymentapi.auctionsoftware.com/api/customer/source/delete

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz",
"source_id":"card_1I3p1nPQ4iG3mdLGmGWKaQNo"
}
Example Request
curl --location --request POST 'https://paymentapi.auctionsoftware.com/api/customer/source/delete' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz",
"source_id":"card_1I3p1nPQ4iG3mdLGmGWKaQNo"
}'
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Source deleted successfully!",
"responseData": {
"id": "card_1I3p1nPQ4iG3mdLGmGWKaQNo",
"object": "card",
"deleted": true
}
}
}
Example Response Headers
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Content-Length: 172
ETag: W/"ac-QnDUetWEe9Jpgf8iDnaUnXRIf4I"
Vary: Accept-Encoding
Date: Tue, 12 Jan 2021 17:47:08 GMT
Connection: keep-alive

Card - Get All Cards

POST

https://paymentapi.auctionsoftware.com/api/customer/source/list

Body raw
{ "account_id": "acct_1HyPgmPQ4iG3mdLG", "customer_id": "cus_If7GDAizxhJEWz" }
Example Request
https://paymentapi.auctionsoftware.com/api/customer/source/list' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer_id": "cus_If7GDAizxhJEWz"
}
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Source retrieved successfully!",
"responseData": {
"object": "list",
"data": [
{
"id": "card_1I8q9bPQ4iG3mdLGVKr3dQuc",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_If7GDAizxhJEWz",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 12,
"exp_year": 2030,
"fingerprint": "FU19NMQpMsyq61ns",
"funding": "credit",
"last4": "1111",
"metadata": {},
"name": null,
"tokenization_method": null
},
{
"id": "card_1I8pMsPQ4iG3mdLGzWyX0AcB",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_If7GDAizxhJEWz",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 12,
"exp_year": 2030,
"fingerprint": "FU19NMQpMsyq61ns",
"funding": "credit",
"last4": "1111",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"url": "/v1/customers/cus_If7GDAizxhJEWz/sources"
}
}
}
Example Response Headers
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
ETag: W/"48f-/gQc8T0xtubK61Or18TgSeBmTQ8"
Set-Cookie: connect.sid=s%3A-WuMGiZI03FHE6TSEq-LaiFqyMBHnqyt.
%2BUofFthul6hwr%2FGnZiNsWq7IHXFFefNLuFdUGmmpFnk; Path=/; Expires=Wed, 13 Jan 2021 10:27:54 GMT; HttpOnly
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Tue, 12 Jan 2021 17:47:54 GMT
Connection: keep-alive
Transfer-Encoding: chunked

Refund - Create

POST

https://paymentapi.auctionsoftware.com/api/refund/create

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"charge": "ch_1I8qzSPQ4iG3mdLGANvQLvqW",
"amount": "100",
"reason": "TEST REFUND"
}
Example Request
curl --location --request POST 'https://paymentapi.auctionsoftware.com/api/refund/create' \ --data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"charge": "ch_1I8qzSPQ4iG3mdLGANvQLvqW",
"amount": "100",
"reason": "TEST REFUND"
}'

Charge Card - Customer

POST

https://paymentapi.auctionsoftware.com/api/charge/create

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer": "cus_If7GDAizxhJEWz",
"description":"TEST TRANSACTION",
"amount": 1000,
"currency": "usd",
"source": "card_1I8q9bPQ4iG3mdLGVKr3dQuc"
}
Example Request
https://paymentapi.auctionsoftware.com/api/charge/create' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer": "cus_If7GDAizxhJEWz",
"description":"TEST TRANSACTION",
"amount": 1290,
"currency": "usd",
"source": "card_1I3p1nPQ4iG3mdLGmGWKaQNo"
}'
Example Response
{
"status": "success",
"data": {
"responseType": 1,
"message": "Details successfully retrieved!",
"responseData": {
"id": "ch_1I8qfIPQ4iG3mdLG4tIRJOZw",
"object": "charge",
"amount": 1290,
"amount_captured": 1290,
"amount_refunded": 0,
"application": "ca_IY45tkXvU3GSLGctTkwd7Q0rfwwqzkKZ",
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1I8qfJPQ4iG3mdLGOS91qR5t",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"calculated_statement_descriptor": "SRIKANTH BASKARAN",
"captured": true,
"created": 1610472500,
"currency": "usd",
"customer": "cus_If7GDAizxhJEWz",
"description": "TEST TRANSACTION",
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {},
"on_behalf_of": null,
"order": null,
"outcome": {
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 16,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": null,
"payment_method": "card_1I3p1nPQ4iG3mdLGmGWKaQNo",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": null
},
"country": "US",
"exp_month": 12,
"exp_year": 2030,
"fingerprint": "FU19NMQpMsyq61ns",
"funding": "credit",
"installments": null,
"last4": "1111",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_1HyPgmPQ4iG3mdLG/
ch_1I8qfIPQ4iG3mdLG4tIRJOZw/rcpt_IkLMw8A8ORyWqWudqL7ydON3Qv45hWf",
"refunded": false,
"refunds": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1I8qfIPQ4iG3mdLG4tIRJOZw/refunds"
},
"review": null,
"shipping": null,
"source": {
"id": "card_1I3p1nPQ4iG3mdLGmGWKaQNo",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_If7GDAizxhJEWz",
"cvc_check": null,
"dynamic_last4": null,
"exp_month": 12,
"exp_year": 2030,
"fingerprint": "FU19NMQpMsyq61ns",
"funding": "credit",
"last4": "1111",
"metadata": {},
"name": null,
"tokenization_method": null
},
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
}
}
Example Response Headers
Server: nginx/1.14.0 (Ubuntu)
Date: Tue, 12 Jan 2021 17:28:21 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
X-DNS-Prefetch-Control: off
Expect-CT: max-age=0
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: no-referrer
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
ETag: W/"9a7-a3kAyYvAUGH53yjKjp6GFvsA+Do"
Vary: Accept-Encoding
Content-Encoding: gzip

Admin - Onboarding

POST

https://payment.auctionsoftware.com/api/admin/onBoarding

Body raw
{
"country": "US",
"email": "srikanth+10@auctionsoftware.com",
"confirm_email": "srikanth+10@auctionsoftware.com",
"password": "12345678",
"confirm_password": "12345678",
"card_payments": true,
"transfers": true,
"phone": "+919176860631"
}
Example Request
curl --location --request POST 'https://payment.auctionsoftware.com/api/admin/onBoarding' \
--data-raw '{
"country": "US",
"email": "srikanth+10@auctionsoftware.com",
"confirm_email": "srikanth+10@auctionsoftware.com",
"password": "12345678",
"confirm_password": "12345678",
"card_payments": true,
"transfers": true,
"phone": "+919176860631"
}'
POST

https://payment.auctionsoftware.com/api/admin/createAccountLink

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG"
}
Example Request
curl --location --request POST 'https://payment.auctionsoftware.com/api/admin/createAccountLink' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG"
}'

Admin - Delete Account

POST

https://payment.auctionsoftware.com/api/admin/deleteAccount

Body raw
{
"account_id": "acct_1HyMNXPG2A2s44TL"
}
Example Request
curl --location --request POST 'https://payment.auctionsoftware.com/api/admin/deleteAccount' \
--data-raw '{
"account_id": "acct_1HyMNXPG2A2s44TL"
}'

Admin - Login

POST

https://payment.auctionsoftware.com/api/admin/deleteAccount

Body raw
{
"email":"srikanth+20@auctionsoftware.com",
"password": "12345678"
}
Example Request
https://paymentapi.auctionsoftware.com/api/admin/login' \
--data-raw '{
"email":"srikanth+20@auctionsoftware.com",
"password": "12345678"
}'

Pending - Create Transfer - Account

POST

http://localhost:7777/api/transfers/create

Body raw
{
"account_id": "acct_1HtnnZAulnVHuRJh",
"amount": 400,
"currency": "usd",
"destination": "acct_1HyPgmPQ4iG3mdLG"
}
Example Request
http://localhost:7777/api/transfers/create' \
--data-raw '{
"account_id": "acct_1HtnnZAulnVHuRJh",
"amount": 400,
"currency": "usd",
"destination": "acct_1HyPgmPQ4iG3mdLG"
}'

Pending - Create Source - Seller

POST

http://localhost:7777/api/seller/source/create

Body raw
{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer": "cus_If7GDAizxhJEWz",
"description":"TEST TRANSACTION",
"amount": 1290,
"currency": "usd",
"source": "card_1I3p1nPQ4iG3mdLGmGWKaQNo"
}
Example Request
POST 'http://localhost:7777/api/seller/source/create' \
--data-raw '{
"account_id": "acct_1HyPgmPQ4iG3mdLG",
"customer": "cus_If7GDAizxhJEWz",
"description":"TEST TRANSACTION",
"amount": 1290,
"currency": "usd",
"source": "card_1I3p1nPQ4iG3mdLGmGWKaQNo"
}'