Payment updates on the account

Version 1.0.0
download iconDownload spec

Endpoint

POST
https://partner.att.com/omni-svcs/v1/payment-methods

Payment transaction

arrowRequest

Payment transaction request payload

Body Parameters

Responses

Payment transaction update response

arrowBody

application/json

REQUEST

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
curl --request POST \
     --url https://partner.att.com/omni-svcs/v1/payment-methods \
     --header 'content-type: application/json' \
     --data '
{
  "payment": {
    "paymentMethods": [
      {
        "id": "paymentmethod_1",
        "amount": 1,
        "Card": {
          "cardNumber": 1234,
          "cardHolderName": "",
          "expireMonth": 12,
          "expireYear": 2025,
          "billingAddress": {
            "zipCode": ""
          }
        },
        "accountNumber": "123454",
        "savePaymentProfile": true,
        "storeTermsConditionConsent": true,
        "tncId": "111",
        "customerAgreement": "",
        "profileOwnerId": "",
        "profileName": ""
      }
    ]
  }
}
'

RESPONSE

1
2
3
4
5
6
{
  "paymentResponse": {
    "status": "success",
    "paymentMethodId": ""
  }
}